<% content_for :css do %>
  <%= stylesheet_link_tag 'valleyer/home_show'  %>
<% end %>
<script type="text/javascript">
  var imageList = new Array("<%= image_path('advert/1.jpg') %>",
    "<%= image_path('advert/2.jpg') %>",
    "<%= image_path('advert/3.jpg') %>");
  var imageNumber = 0;

  function slideShow()
  {
    $('slideShow').src = imageList[imageNumber];
    imageNumber ++;
    if(imageNumber == imageList.length)
    {
      imageNumber = 0;
    }
    window.setTimeout("slideShow()",5000);
  }
</script>
<div id="center">
  <div class="summary">
    <div class="content">
      <div class="title">
        <p>探戈坞的长城之梦</p>
      </div>
      <div class="monomer">
        中国的古长城带着他的远古和神秘，永远凝聚着动画的感召，令世人向往--这，
        是一种品牌，一种独一无二...可以想象：在一个群山环抱的静谧山谷，面对着无数英灵构筑起的古老长城，
        通过专门为音乐搭建的舞台和音响，高歌抑或高奏一曲，
        那将是一种真正的奇妙，真正的感召...
      </div>
      <div class="monomer">
        音乐谷由探戈坞演出基地、音乐人聚集区、长城村以及国际高端艺术及商务休闲基地、五大洲音乐博览园等分区组成，
        分布于上万公顷的山谷内，总投资5亿美元。探戈坞音乐谷以音乐演出为核心，搭建音乐人聚集区，进而形成音乐产业聚集区。
      </div>
    </div>
    <div class="picture"><img src="<%= image_path('valleyer/landscape.jpg') %>"></div>
  </div>
  <div id="center_left">
    <div class="scenery">
      <div class="pictrue"><img id='slideShow' /></div>
    </div>
    <div class="member">
      <%= render :file => "homes/_active_memberships.html" %>
    </div>
    <div class="friend">
      <%= render :file => "homes/_new_entrants.html" %>
    </div>
    <div class="link">
      <%= render :file => "homes/_links.html" %>
    </div>
  </div>
  <div id="center_right">
    <div class="register">
      <div id="window" class="window">
        <% if loggined_by_valleyer?  %>
          <%= render :file => 'homes/show/sessions/show.js' %>
        <% else %>
          <%= render :file => 'homes/show/sessions/new.js'%>
        <% end %>
      </div>
    </div>
    <div class="classification">
      <div id="sstab">
        <div><div class="nav_bar">
            <%= link_to_function "首页",
              "buttonHighOrLow('home_tag')",
              :id => "home_tag",
              :class => "button_h",
              :href => "javascript:;" %>
            <%= link_to_function "日志",
              "buttonHighOrLow('log')",
              :id => "log",
              :class => "button_l",
              :href => "javascript:;" %>
            <%= link_to_function "转载",
              "buttonHighOrLow('reship')",
              :id => "reship",
              :class => "button_l",
              :href => "javascript:;" %>
            <%= link_to_function "相册",
              "buttonHighOrLow('album')",
              :id => "album",
              :class => "button_l",
              :href => "javascript:;" %>
          </div></div>
      </div>
      <div>
        <div id="home_tag_mainstay" class="navlet" style="display:inline">
          <%= render :file => "homes/_principal_sheet.html" %>
        </div>
        <div id="log_mainstay" class="navlet" style="display:none">
          <%= render :file => "homes/_logs.html" %>
        </div>
        <div id="reship_mainstay" class="navlet" style="display:none">
          <%= render :file => "homes/_reships.html" %>
        </div>
        <div id="album_mainstay" class="navlet" style="display:none">
          <%= render :file => "homes/_album.html" %>
        </div>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">
  slideShow();
</script>